package com.etalk.crm.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 学员动态
 * @author James
 */
@Entity
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StudentDynamics implements Serializable {
	/**主键id*/
	private int id;
	/**动态内容**/
	private String content;
	/**关联学生登录名**/
	private String studentLogin;
	/**添加时间*/
	private Date addTime;
	/**添加人*/
	private String addUser;
	/**添加人id*/
	private int addUserId;
	/**学生id*/
	private int personId;
	/**
	 * 提醒记录id
	 */
	private Integer remindId;
	/**
	 *
	 */
	private Integer state;
	/**
	 *
	 */
	private String name;
	/**
	 *
	 */
	private Date remindTime;


	private Integer questionnaireId;

	private Integer classStores;

	private String sscCheck;

	private Integer sscCCId;

	 /**
     * 动态对应的预览ID
     */
    private List<String> attachmentPreviewId;

     /**
     * 动态对应的附件URL
     */
    private List<String> attachmentUrl;

    private String sscCCName;

    private Integer parentId;

     /**
     * 动态附件
     */
    private List<StudentDynamicsAttachment> dynamicsAttachmentList;

    private String fileUrl;
}
